from Spider import SeedSpider
from Dao import Account, Seed


if __name__ == '__main__':

    seed_spider = SeedSpider(Account.get_accounts(), Seed.get_seeds())

    try:
        seed_spider.run()
    except Exception as e:
        print e
    finally:
        seed_spider.clean_up()